package eu.jakubiak.mcc.request;

import eu.jakubiak.mcc.enums.Status;


public interface IRequest {

    /**
     * Begin conversion
     * 
     * @param fileUrl
     * @param format
     * @param quality
     * @param statusUrl
     * @return
     */
    String begin(String fileUrl, String format, String quality, String statusUrl);
    
    /**
     * Check status
     * 
     * @param key
     * @return
     */
    Status getStatus(String key);
    
    /**
     * Get thumb image
     * 
     * @param key
     * @return
     */
    byte[] getThumb(String key);
    
    /**
     * Get result video
     * 
     * @param key
     * @return
     */
    byte[] getResult(String key);
    
}
